home *** CD-ROM | disk | FTP | other *** search
/ Aminet 51 / Aminet 51 (2002)(GTI - Schatztruhe)[!][Oct 2002].iso / Aminet / util / misc / gpatch.readme < prev    next >
Encoding:
Text File  |  2002-09-01  |  2.9 KB  |  102 lines

  1. Short:        Patch system for software updates
  2. Author:       ralf.gruner@t-online.de (Ralf Gruner)
  3. Uploader:     ralf.gruner@t-online.de (Ralf Gruner)
  4. Version:      3.0
  5. Type:         util/misc
  6. Distribution: Freeware
  7.  
  8.  
  9. GCompare / GPatch - A high quality patch system for software updates
  10. ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
  11. GCompare generates patch files for the distribution of file updates.
  12. GPatch applies the patches.
  13.  
  14. The patch file can contain patches for any number of files.
  15. The file format is optimized for size - the patch files are very short.
  16. CRC error checking provides safe operations.
  17. The programs work with any type of files.
  18.  
  19. The patch files are portabel. GPatch and GCompare executables will be
  20. available for some IX platforms and Windows soon.
  21.  
  22.  
  23. Changes since previous version:
  24.  
  25. GCompare: New algorithm for very high search speed (three-dimensional
  26. search arrays). Needs more than 128 MB of memory for one patch or more
  27. than 256 MB for additional patches.
  28. Changed the CRC algorithm to get a comparable result with other programs.
  29. New algorithm for Amiga executables (reloc hunk encoding) for much better
  30. results.
  31. Many improvements of the coding algorithms. New file format.
  32.  
  33. GPatch: Can now replace the old file and make an optional backup.
  34.  
  35. -------------------------------------------------------------------
  36.  
  37. Why should you use GCompare? Here you have an example with different
  38. patch programs:
  39.  
  40. Let's assume, you have a new file of your program AWeb-II.
  41. The world is using the old versions 3.2 and 3.3, and you want to
  42. provide an update to the new version 3.4.
  43. What you have to do is:
  44.  
  45.  
  46. Build the difference files:
  47.  
  48. scompare -oAWeb32-34.spatch AWeb-II-3.2 AWeb-II-3.4
  49. scompare -oAWeb33-34.spatch AWeb-II-3.3 AWeb-II-3.4
  50.  
  51. This needs 1:28 minutes, and you have two files:
  52.  
  53. AWeb32-34.spatch                240960 ----rwed
  54. AWeb33-34.spatch                193328 ----rwed
  55.  
  56.  
  57. or you use
  58.  
  59. gcompare AWeb-II-3.2 AWeb-II-3.3 AWeb.gpatch
  60. gcompare AWeb-II-3.3 AWeb-II-3.4 AWeb.gpatch
  61.  
  62. This needs 0:59 minutes, and you have one file for both patches:
  63.  
  64. AWeb.gpatch                     220694 ----rwed
  65.  
  66. -----
  67. Now you have to create the distribution archive. You have to add
  68. the patcher and a script to build the new file.
  69. For the example we leave the script out. The relevant lines of
  70. the scripts would be:
  71.  
  72. spatch -oAWeb-II-3.4 -pAWeb32-34.spatch AWeb-II  (and for the other)
  73. spatch -oAWeb-II-3.4 -pAWeb33-34.spatch AWeb-II
  74. copy AWeb-II-3.4 AWeb3:AWeb-II
  75.  
  76. or
  77.  
  78. gpatch AWeb3:AWeb-II AWeb.gpatch RECURSIVE DIRECT
  79.  
  80. (This line patches both versions of the program.)
  81.  
  82. -----
  83. So, let's build the archive:
  84.  
  85. lha -a a awebupdateS AWeb32-34.spatch
  86. lha -a a awebupdateS AWeb33-34.spatch
  87. lha -a a awebupdateS spatch
  88.  
  89. or
  90.  
  91. lha -a a awebupdateG AWeb.gpatch
  92. lha -a a awebupdateG gpatch
  93.  
  94. -----
  95. Our resulting file is:
  96.  
  97. awebupdateS.lha                 277258 ----rwed
  98.  
  99. or
  100.  
  101. awebupdateG.lha                 163593 ----rwed
  102.